package it.infodea.tapestrydea.pages.demodea;

import org.apache.tapestry5.ComponentResources;
import org.apache.tapestry5.annotations.SetupRender;
import org.apache.tapestry5.ioc.annotations.Inject;

import it.infodea.tapestrydea.services.breadcrumb.BreadcrumbService;
import it.infodea.tapestrydea.support.annotations.PageInfo;
import it.infodea.tapestrydea.support.enumerations.SecurityGroup;

@PageInfo(category = "demo", allowedSecurityGroup=SecurityGroup.ANONYMOUS, mode = PageInfo.MODE_NORMAL)
public class BreadcrumbDemoDea {

	@Inject
	private ComponentResources resources;

	@Inject
	private BreadcrumbService breadcrumbService;

	@SetupRender
	void setup() {
		breadcrumbService.addBreadcrumb(resources);
	}
	
}
